package shapes;

import java.awt.Color;

public class Linha extends Shape {

	public Linha(double[][] p, Color c, String n) {
		type = 1;
		this.pts = p;
		this.color = c;
		this.name = n;
		center[0] = (pts[0][0] + pts[0][1]) / 2;
		center[1] = (pts[1][0] + pts[1][1]) / 2;
	}
}
